package com.cloudlead.userService;

import com.cloudlead.common.lang.annotation.RemoteService;
import com.cloudlead.common.lang.persistence.EasyuiGridData;
import com.cloudlead.common.lang.persistence.ObjectMap;
import com.cloudlead.common.lang.persistence.Page;
import com.cloudlead.userService.vo.UserManagement1VO;
import com.cloudlead.userService.vo.UserManagementVO;
import com.cloudlead.common.lang.persistence.EasyuiGridData;

/**
 * Created by Administrator on 2015-08-13.
 */
@RemoteService
//"用户员工注册"
public interface UserManagement {
    //增
    public String userRegister(UserManagementVO userManagementVO);
    //编辑
    public void editUser(UserManagementVO vo);
    //单值查询
    public ObjectMap findOneUser(UserManagement1VO userManagement1VO);
    //分页查询
    public EasyuiGridData findAllUser(UserManagement1VO userManagement1VO,int rows,int page);
    //删
    public void delUser(String id);
    //增加权限
    public String updatePrivilege(String userName,String privilegeList);

    public  void  editPass(String userID,String password,String editPass);
    //删除权限
 //   public String delPrivilege(String userId);
}
